// ShowView.cpp : implementation file
//

#include "stdafx.h"
#include "2.h"
#include "ShowView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// ShowView

IMPLEMENT_DYNCREATE(ShowView, CView)

ShowView::ShowView()
{
}

ShowView::~ShowView()
{
}


BEGIN_MESSAGE_MAP(ShowView, CView)
	//{{AFX_MSG_MAP(ShowView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// ShowView drawing

void ShowView::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
m_image.LoadBitmap(IDB_BITMAP11);
CDC dc;
dc.CreateCompatibleDC(pDC);
dc.SelectObject(m_image);
pDC->BitBlt(0,0,900,800,&dc,0,0,SRCCOPY);
}

/////////////////////////////////////////////////////////////////////////////
// ShowView diagnostics

#ifdef _DEBUG
void ShowView::AssertValid() const
{
	CView::AssertValid();
}

void ShowView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// ShowView message handlers
